package cn.shengchao.examstar.gankao.infrastrure.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName(value = "gk_subject_category_course_type_tag")
public class GkSubjectCategoryCourseTypeTag {
    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 更新版本（根据时间戳生成版本记录）
     */
    @TableField(value = "load_version")
    private Long loadVersion;
    /**
     * 科目id
     */
    @TableField(value = "grade_id")
    private Integer gradeId;
    /**
     * 科目id
     */
    @TableField(value = "subject_id")
    private Integer subjectId;

    /**
     * 导航类目id
     */
    @TableField(value = "cate_id")
    private Integer cateId;

    /**
     * 标签
     */
    @TableField(value = "tag")
    private String tag;

    /**
     * 分类父id
     */
    @TableField(value = "parent_id")
    private Integer parentId;

    /**
     * 课程类型
     */
    @TableField(value = "course_type")
    private Integer courseType;

    /**
     * 课程id
     */
    @TableField(value = "course_id")
    private Integer courseId;

    @TableField(value = "create_time" ,fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}